//
// Created by 32827 on 2024/2/6.
//

#ifndef YZGD32_YZL_CLOCK_H
#define YZGD32_YZL_CLOCK_H
#include "yz.h"
#include "../../Inc/yzl_conf.h"
#define YZL_CLOCK_IRQ_NAME YZL_CLOCK_IRQ
typedef struct {
    uint32_t *min;
    uint32_t *us;
}YZL_CLOCK;
YZL_CLOCK *yzl_clock_get();
void yzl_clock_delay_us(uint32_t us);
void yzl_clock_delay_ms(uint32_t ms);
void yzl_clock_delay_s(uint32_t s);
void yzl_clock_init(void);
#endif //YZGD32_YZL_CLOCK_H
